using ScriptableObjects.Pokemon;

namespace Skill
{
    using UnityEngine;

    /// <summary>
    /// 技能基类
    /// </summary>
    [CreateAssetMenu(fileName = "new skill", menuName = "GameItem/Create new skill")]
    public class SkillBase : ScriptableObject
    {
        //技能名称
        [SerializeField] private string skillName;

        //技能描述
        [TextArea] [SerializeField] private string description;

        //技能类型
        [SerializeField] private PokemonType elementType;

        //威力
        [SerializeField] private int power;

        //命中率
        [SerializeField] private int accuracy;

        //PP
        [SerializeField] private int pp;

        // 物理,特殊,变化
        [SerializeField] private SkillType skillType;




        public string SkillName => skillName;
        public string Description => description;
        public int Power => power;
        public int Accuracy => accuracy;
        public int Pp => pp;
        public PokemonType ElementType => elementType;

        public SkillType SkillType => skillType;
       
    }
}